]> dgit.raspbian.org Git - dovecot.git/commit
[PATCH 5/7] lib-sieve: file storage: Remove orphan compiled binaries on delete and...
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Tue, 5 May 2026 16:51:27 +0000 (16:51 +0000)
committerNoah Meyerhans <noahm@debian.org>
Wed, 16 Sep 2026 19:06:35 +0000 (15:06 -0400)
commit3409775ecf982174bd2ae619614e4b4c5c31a545
tree6643ed95d791a20911a0730ff2a6ec9a341dd891
parent443535260213435bc89e878a6c805a35bea3894b
[PATCH 5/7] lib-sieve: file storage: Remove orphan compiled binaries on delete and rename

DELETESCRIPT and RENAMESCRIPT only operated on the .sieve file and
left the matching compiled binary (.svbin) on disk. The orphan was
never referenced again under that name, so it accumulated as wasted
disk space until something else (manual cleanup, account removal)
removed it.

Unlink fscript->bin_path alongside the .sieve operation. The unlink is
best-effort: failures other than ENOENT are logged but do not fail the
DELETE/RENAME.

Gbp-Pq: Name 0005-lib-sieve-file-storage-Remove-orphan-compiled-binari.patch
pigeonhole/src/lib-sieve/storage/file/sieve-file-script.c